home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / prog / atari / c / snz128s / src / expire.h < prev    next >
Text File  |  1994-04-13  |  2KB  |  56 lines

  1. /*
  2.     SNEWS 2.0
  3.  
  4.     expire private decls
  5.  
  6.  
  7.     Copyright (C) 1991  John McCombs, Christchurch, NEW ZEALAND
  8.                         john@ahuriri.gen.nz
  9.                         PO Box 2708, Christchurch, NEW ZEALAND
  10.  
  11.     This program is free software; you can redistribute it and/or modify
  12.     it under the terms of the GNU General Public License, version 1, as
  13.     published by the Free Software Foundation.
  14.  
  15.     This program is distributed in the hope that it will be useful,
  16.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  17.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18.     GNU General Public License for more details.
  19.  
  20.     See the file COPYING, which contains a copy of the GNU General
  21.     Public License.
  22.  
  23.  */
  24. /*---------------------------- Source Control ------------------------------*/
  25.  
  26. /*
  27.  * $Id: EXPIRE.H,v 1.2 1994/02/05 18:44:34 gbj Exp user $
  28.  */
  29.  
  30. /**************************************************************************
  31. *   01 Jun 93   1.1    MSM  Header added                                  *
  32. *                           Snews 2.0                                     *
  33. ***************************************************************************/
  34.  
  35. void crash(char *msg, char *fn);
  36.  
  37. void expire_history(long current, long secs);
  38.  
  39. int read_expire(char*, long*, char*);
  40.  
  41. int load_expire(void);
  42.  
  43. void exp_free(void);
  44.  
  45. void nntp_tail(long);
  46.  
  47. void nntp_copy(void);
  48.  
  49. typedef struct exp_data {
  50.     char group[80];
  51.     int  flag;
  52.     int  days;
  53.     char archive[65];
  54.     struct exp_data *next;
  55. } EXP_DATA;
  56.